package org.lex.ftp.ui.queue.actions;

import java.awt.event.ActionEvent;

import org.lex.ftp.FTP;
import org.lex.ftp.ui.actions.FTPAction;

public class RemoveAction extends FTPAction {
	public RemoveAction(FTP app) {
		super(app);
		this.setName("Delete");
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		app.getQueue().remove(app.getContentPane().getQueuePane().getSelectedModelRows());
	}
}
